Use PEGetSelectionFormula to retrieve the string handle for the selection formula used in the specified report. Use this function with PEGetHandleString. Use PESetSelectionFormula, to pass back the selection formula. The series can be used in a Custom
BOOL CRPE_API PEGetSelectionFormula (
short printJob,
HANDLE FAR *textHandle,
short FAR *textLength );
VB Sample Code for modifying selection formulas and group selection formulas |
Declare Function PEGetSelectionFormula Lib "crpe32.dll" (ByVal printJob As Integer, TextHandle As Long, TextLength As Integer) As Integer
function PEGetSelectionFormula (
printJob: Word;
var textHandle: HWnd;
var textLength: Word
): Bool stdcall;
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |